runtime.mstats.numgc (field)
12 uses
runtime (current package)
metrics.go#L727: a.gcCyclesDone = uint64(memstats.numgc)
mgc.go#L1422: memstats.pause_ns[memstats.numgc%uint32(len(memstats.pause_ns))] = uint64(work.pauseNS)
mgc.go#L1423: memstats.pause_end[memstats.numgc%uint32(len(memstats.pause_end))] = uint64(unixNow)
mgc.go#L1457: memstats.numgc++
mgc.go#L1577: print("gc ", memstats.numgc,
mgclimit.go#L281: l.lastEnabledCycle.Store(memstats.numgc + 1)
mgclimit.go#L333: l.lastEnabledCycle.Store(memstats.numgc + 1)
mstats.go#L40: numgc uint32
mstats.go#L554: stats.NumGC = memstats.numgc
mstats.go#L587: n := memstats.numgc
mstats.go#L598: j := (memstats.numgc - 1 - i) % uint32(len(memstats.pause_ns))
mstats.go#L604: p[n+n+1] = uint64(memstats.numgc)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |